from google.appengine.ext import db
class Thread(db.Model):
    thread_id   =db.StringProperty()
    title       =db.StringProperty()
    author      =db.StringProperty()
    lst_page_url    =db.StringListProperty()
    #the following is other info
    bot_server  =db.StringProperty()

class User(db.Model):
    user_id     =db.IntegerProperty()
    mail_addr   =db.StringProperty()
    password_hash    =db.StringProperty()
    
class Sub(db.Model):
    user_id     =db.IntegerProperty()
    user_mail   =db.StringProperty()
    thread_id   =db.StringProperty()
        